<template>
<div id="app">
    <Transition>
        <router-view />
    </Transition>

</div>
</template>

<script>
import {autoSize} from "./assets/js/lazy_use";
export default {
    name: "App",
    // 监听resize事件
    mounted() {
        autoSize();
        window.addEventListener("resize", () => {
            autoSize();
        });
    }
};
</script>

<style lang="less"></style>
